-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: use tsx
directly instead of indirect esno
#8773
Conversation
✅ Deploy Preview for vite-docs-main canceled.
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would approve it, but cannot, because there are 3 lines not related to this PR directly 🤔
So other maintainers should decide if they are okay with these lines
tsx
directly instead of indirect esno
tsx
directly instead of indirect esno
@@ -14,6 +14,7 @@ | |||
], | |||
"scripts": { | |||
"preinstall": "npx only-allow pnpm", | |||
"postinstall": "simple-git-hooks", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will make simple-git-hooks
run every time pnpm i
is called. But I think it is good to have this for new contributors.
Ideally it is better to turn off side-effects-cache only for simple-git-hooks
. I'm not sure if we can do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we can include it for now until an issue arise, otherwise we can point users to run it manually in the contributing guide.
Description
related #8771
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).